package com.study.interfaces;

/**
 * @author 大硕
 * 2019-04-13 10:57 PM
 **/
public class GuessGame {

    @SuppressWarnings("all")
    public int guess(int num) {
        if (num > 6) {
            return -1;
        } else if (num < 6) {
            return 1;
        } else {
            return 0;
        }
    }
}